package cn.factorybox.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-05-10 10:22
 */
public class RfidDeviceData {

    private static final long serialVersionUID = 1L;

    private String id;
    private String deviceID;    //设备号
    private String strEPC;      // EPC编码
    private Integer mReadCount;  // 读取次数

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date fCreateTime;      //创建时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeviceID() {
        return deviceID;
    }

    public void setDeviceID(String deviceID) {
        this.deviceID = deviceID;
    }

    public String getStrEPC() {
        return strEPC;
    }

    public void setStrEPC(String strEPC) {
        this.strEPC = strEPC;
    }

    public Integer getmReadCount() {
        return mReadCount;
    }

    public void setmReadCount(Integer mReadCount) {
        this.mReadCount = mReadCount;
    }

    public Date getfCreateTime() {
        return fCreateTime;
    }

    public void setfCreateTime(Date fCreateTime) {
        this.fCreateTime = fCreateTime;
    }

    @Override
    public String toString() {
        return "RfidDeviceData{" +
                "id='" + id + '\'' +
                ", deviceID='" + deviceID + '\'' +
                ", strEPC='" + strEPC + '\'' +
                ", mReadCount=" + mReadCount +
                ", fCreateTime=" + fCreateTime +
                '}';
    }
}
